import Header from "./Header"
import styles from "./PageLayout.module.scss"

const PageLayout: React.FC<{ children: unknown }> = ({ children }) => {
  return (
    <div className={styles["page-layout"]}>
      <div className="pre-footer">
        <Header />
        <div>{children}</div>
      </div>
      <footer>京ICP备2021010991号</footer>
    </div>
  )
}

export default PageLayout
